﻿#ifndef WIDGET_CHARTS_H
#define WIDGET_CHARTS_H

#include <QWidget>
#include "customplot.h"

namespace Ui {
	class WidgetCharts;
}

class WidgetCharts : public QWidget
{
	Q_OBJECT

public:
	explicit WidgetCharts(QWidget* parent = nullptr);
	~WidgetCharts();

public:
	void init_graph(CustomPlot* widget, int index);

	void update_graph(CustomPlot* widget, int index);


private:
	Ui::WidgetCharts* ui;
};

#endif // WIDGET_CHARTS_H
